<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Home extends CI_Controller
{

    public function __construct()
    {
        parent::__construct();

        $this->load->helper(array('form','url'));
        $this->load->library(array('session','form_validation'));
        $this->load->database();
    }

    public function index()
    {
        $data['title'] = 'Li Lijie - 个人博客';
        $this->load->view('home/header', $data);
        $this->load->view('home/index');
        $this->load->view('home/footer');
    }
}